package cn.tedu.weibo.mapper;

import cn.tedu.weibo.pojo.entity.User;
import org.apache.ibatis.annotations.Mapper;

//在启动项加了MapperScan 注解
public interface UserMapper {
   int insert(User user);
   User findByUsername(String name);

   User findByPassword(User user);

}
